(define-category ?< "Not at eol
A character which can't be placed at end of line.")
-;; Combining
+;; Base and Combining
+(define-category ?. "Base
+Base characters (Unicode General Category L,N,P,S,Zs)")
(define-category ?^ "Combining
-Combining diacritic or mark")
+Combining diacritic or mark (Unicode General Category M")
\f
;;; Setting syntax and category.
(setq char-width-table (char-table-parent cjk-char-width-table)))
(optimize-char-table (standard-case-table))
-(optimize-char-table (standard-category-table))
(optimize-char-table (standard-syntax-table))
\f
table))
(setq unicode-category-table (build-unicode-category-table))
+(map-char-table #'(lambda (key val)
+ (if (and val
+ (or (and (/= (aref (symbol-name val) 0) ?M)
+ (/= (aref (symbol-name val) 0) ?C))
+ (eq val 'Zs)))
+ (modify-category-entry key ?.)))
+ unicode-category-table)
+
+(optimize-char-table (standard-category-table))
\f
;;; Setting word boundary.